namespace Cos.Core.NHibernate.Mapping
{
    #region Usings

    using FluentNHibernate.Mapping;

    #endregion

    public class ExtensionsParameterMap : ClassMap<ExtensionsParameterDataModel>
    {
        #region Constructors and Destructors

        public ExtensionsParameterMap()
        {
            this.Table("ExtensionsParameters");
            this.LazyLoad();
            this.Id(x => x.Id).GeneratedBy.Assigned().Column("ExtensionType");
            this.Map(x => x.Active).Not.Nullable();
            this.Map(x => x.Param1);
            this.Map(x => x.Param2);
            this.Map(x => x.Param3);
            this.Map(x => x.Param4);
        }

        #endregion
    }
}